import request from '@/utils/request'

/**
 * 按企业查询缴款单点钞入账信息
 */
export function getCompanySummary(checkDate) {
  return request({
    url: '/dashbord/smsk/companysummary',
    method: 'get',
    params: { checkDate }
  })
}

/**
 * 按站点查询缴款单点钞入账信息
 */
export function getStationSummary(companyId, checkDate) {
  return request({
    url: '/dashbord/smsk/stationsummary',
    method: 'get',
    params: { companyId, checkDate }
  })
}

/**
 * 首页参保折线图数据查询
 */
export function getLineChart() {
  return request({
    url: '/dashbord/smsk/linechart',
    method: 'get'
  })
}
